#include <iostream>
#include <map>
#include <functional>

using namespace std;


int Max(int a, int b)
{
    return a > b ? a : b;
}


int Min(int a, int b)
{
    return a > b ? b : a;
}


int main()
{
    // std::function<int(int, int)> func = Max;
    std::function<int(int, int)> func = std::bind(Min, std::placeholders::_1, 17);

    cout << func(7, 17) << endl;
    
    return 0;
}